package yinwei.bo.common.entry;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
public class news{
    private int newsId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addtime;
    private String newsTitle;
    private String newsContent;
    private String newsPunlish;
    private String newsEditer;
    private String audit;
    private String resource;
    private int UserId;
}
